
package com.zsrt.javase.c002.t01.p06;

import static org.junit.Assert.*;

import org.junit.Test;

public class AA {

	static int ternary(int s){
		int i = s;
		return i<10?i*100:i*10;
		
	}
	
	@Test
	public void testName() throws Exception {
		int s=10;
		int i = ternary(s);
		System.out.println(i);
	}
}
